package it.unibo.mumu.entity;

import java.util.ArrayList;

public class UniverseSelected  {
	
	private int id;
    private String name;
    private String description;    
    private ArrayList<Planet> planets;
   

    
    // ID
    public int getId() {
        return id;
    }
 
    public ArrayList<Planet> getPlanets() {
		return planets;
	}

	public void setPlanets(ArrayList<Planet> planets) {
		this.planets = planets;
	}
	
	public void addPlanet(Planet p){
		this.planets.add(p);
	}

	public void setId(int id) {
        this.id = id;
    }
    
    
    // name
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    
    // description
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
    
    
    public UniverseSelected(){
    	this.id = -1;
        this.name = "";
        this.description = "";    
        this.planets = new ArrayList<Planet>();
    }

	
 
}

